import datetime,time,os
while 1:
    what_minute=datetime.datetime.now().strftime('%M')
    print '------please waiting----'
    if (int(what_minute) %10)==0 or int(what_minute)==0:
        os.system("ipython report_online_task.py")
        time.sleep(420)

    time.sleep(2)
    # os.system("ipython report_online_task.py")
    # time.sleep(5)
